package cn.it.ygh.service;

import java.util.List;

import cn.it.ygh.pojo.Agent;
import cn.it.ygh.pojo.User;

public interface AgentManageService {
	
	public List<Agent> getAllAgent();
	
	public Agent getAgentById(int agentId);
	
	public void addAgent(Agent agent);
	
	public void modifyAgent(Agent agent);
	
	public void deleteAgent(int agentId);
	
	public void batchdeleteAgent(int[] agentIds);
	
	public List<Agent> findAgent(String key);
	
	public List<Agent> getPageData(int pageStart,int pageSize,String key);
	
	public int getTotalRecord(String key);
}
